<template>
    <el-container>
        <el-header>
            <el-menu :default-active="$route.path" mode="horizontal" background-color="#545c64" text-color="#fff" active-text-color="#ffd04b">
                <el-menu-item index="/admin/moreImage/index" @click="$router.push({ name: 'adminMoreImage', params: { page: 'index' } })"
                    >简介管理</el-menu-item
                >
                <el-menu-item index="/admin/oneImage/member" @click="$router.push({ name: 'adminOneImage', params: { page: 'member' } })"
                    >电子会员卡管理</el-menu-item
                >
                <el-menu-item index="/admin/oneImage/wechar" @click="$router.push({ name: 'adminOneImage', params: { page: 'wechar' } })"
                    >公众号管理</el-menu-item
                >
                <el-menu-item index="/admin/welfare" @click="$router.push({ name: 'admiwelfare' })">福利官管理</el-menu-item>
                <el-menu-item index="/admin/moreImage/poster" @click="$router.push({ name: 'adminMoreImage', params: { page: 'poster' } })"
                    >本档快报管理</el-menu-item
                >
            </el-menu>
        </el-header>
        <el-main>
            <router-view :key="$route.path" />
        </el-main>
    </el-container>
</template>

<script setup>
</script>

<style scoped>
.el-header,
.el-main {
    padding: 0;
}
</style>
